package org.vacoor.nothing.misc.rmc.support.http;

import org.vacoor.nothing.misc.rmc.support.http.annotation.HttpMapper;
import org.vacoor.nothing.misc.rmc.support.http.annotation.RequestBody;
import org.vacoor.nothing.misc.rmc.support.http.annotation.RequestMapping;
import org.vacoor.nothing.misc.rmc.support.http.annotation.RequestParam;

/**
 * Created by Administrator on 2014/12/15.
 */
@HttpMapper
@RequestMapping(value = "http://api.map.baidu.com/geocoder/v2/", extraParams = {"ak=7c5sEdoXPo0jkpdRc4UUYFkm", "output=json"/*, "callback=showLocation"*/})
public interface BaiduMapApi {

    @RequestMapping(value = "")
    String get(@RequestParam("address") String key, @RequestBody String val);

}
